# -*- coding:utf-8 -*-


from selenium.webdriver.support.ui import Select
from time import sleep

class SeaValue:
    def __init__(self,driver,caseno,qlrtype):
        driver.find_element_by_name("delegateRelation.docId").send_keys(caseno)
        Select(driver.find_element_by_name("obligeeInfo.obligeeType")).select_by_visible_text(qlrtype)
        driver.find_element_by_id("rSelect").click()
        sleep(1)

if __name__ == '__main__':
    pass

